 <template>
  <div class="eitdUserput" @click="putClick">
    <div class="eitdUserput_l">
      <span>{{eidtName}}</span>
      <span>
        <slot name="right"></slot>
      </span>
    </div>
  </div>
</template>
 
 <script>
export default {
  props: ["eidtName"],
  methods: {
    putClick() {
      this.$emit("uploadBtn");
    }
  }
};
</script>
 <style lang="less" scoped>
.eitdUserput {
  background-color: #fff;
  padding: 0 4.167vw;
  border-bottom: 1px solid rgb(226, 205, 208);
  .eitdUserput_l {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vw 0;

    span {
      font-size: 3.889vw;
      cursor: pointer;
    }
    span:nth-child(1) {
      color: rgb(210, 210, 210);
    }
  }
}
</style>